package com.moonshineproject.plugin.core.importer
{
	import com.moonshineproject.plugin.project.vo.ProjectVO;
	
	import flash.events.EventDispatcher;
	import flash.filesystem.File;
	
	public class FlashDevelopImporterBase extends EventDispatcher
	{
		protected static function parsePaths(paths:XMLList, v:Vector.<File>, p:ProjectVO, attrName:String="path"):void 
		{
			for each (var pathXML:XML in paths)
			{
				var path:String = pathXML.attribute(attrName);
				var f:File = p.folder.resolvePath(path);
				f.canonicalize();
				v.push(f);
			}
		}
	}
}